<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <link href="style.css" rel="stylesheet">
    <script src="script.js"></script>
</head>
<body>
    <div class="menu">
        <div class="logo"><h1>欢迎登录</h1></div>
        <div>
            <form method="post">
                <div class="account">
                    
                <div>账号：<input type="text" placeholder="请输入账号" name="text" >
                </div>
                </div>
                <div class="code">
                <div>密码：<input type="password" placeholder="请输入密码" name="password" >
                </div>
            </div>
            <div>
                <div>
                    <input type="button" name="button" value="登录" onclick="onlogin()">
                </div>
            </div>
             </form>
        </div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <!-- <script>
        // 响应登录方法
        function onlogin(){
            sz = ["x", "y", "z"]
            for( i = 0 ; i <sz.length; i++) {
                alert(sz[i])
            }

            x = "xyz"
            y = "xyz1"
            if (x == y) {
                alert("yes")
            }
        }

        
    </script> -->

    
</body>

</html>